/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DAO;


import javax.swing.JOptionPane;
/**
 *
 * @author Ricardo
 */
public class DAO {

   protected void imprimeErro(String msg, String msgErro) {
        JOptionPane.showMessageDialog(null, msg, "Erro crítico", 0);
        System.err.println(msg);
        System.out.println(msgErro);
        System.exit(0);
   }
}
